3.1.4 \(\int F^{c (a+b x)} (d+e x)^2 \, dx\) [4]

Optimal. Leaf size=79 \[ \frac {2 e^2 F^{c (a+b x)}}{b^3 c^3 \log ^3(F)}-\frac {2 e F^{c (a+b x)} (d+e x)}{b^2 c^2 \log ^2(F)}+\frac {F^{c (a+b x)} (d+e x)^2}{b c \log (F)} \]

[Out]

2*e^2*F^(c*(b*x+a))/b^3/c^3/ln(F)^3-2*e*F^(c*(b*x+a))*(e*x+d)/b^2/c^2/ln(F)^2+F^(c*(b*x+a))*(e*x+d)^2/b/c/ln(F
)

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 79, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {2207, 2225} \begin {gather*} \frac {2 e^2 F^{c (a+b x)}}{b^3 c^3 \log ^3(F)}-\frac {2 e (d+e x) F^{c (a+b x)}}{b^2 c^2 \log ^2(F)}+\frac {(d+e x)^2 F^{c (a+b x)}}{b c \log (F)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[F^(c*(a + b*x))*(d + e*x)^2,x]

[Out]

(2*e^2*F^(c*(a + b*x)))/(b^3*c^3*Log[F]^3) - (2*e*F^(c*(a + b*x))*(d + e*x))/(b^2*c^2*Log[F]^2) + (F^(c*(a + b
*x))*(d + e*x)^2)/(b*c*Log[F])

Rule 2207

Int[((b_.)*(F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[(c + d*x)^m*
((b*F^(g*(e + f*x)))^n/(f*g*n*Log[F])), x] - Dist[d*(m/(f*g*n*Log[F])), Int[(c + d*x)^(m - 1)*(b*F^(g*(e + f*x
)))^n, x], x] /; FreeQ[{F, b, c, d, e, f, g, n}, x] && GtQ[m, 0] && IntegerQ[2*m] &&  !TrueQ[$UseGamma]

Rule 2225

Int[((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.), x_Symbol] :> Simp[(F^(c*(a + b*x)))^n/(b*c*n*Log[F]), x] /; Fre
eQ[{F, a, b, c, n}, x]

Rubi steps

\begin {align*} \int F^{c (a+b x)} (d+e x)^2 \, dx &=\frac {F^{c (a+b x)} (d+e x)^2}{b c \log (F)}-\frac {(2 e) \int F^{c (a+b x)} (d+e x) \, dx}{b c \log (F)}\\ &=-\frac {2 e F^{c (a+b x)} (d+e x)}{b^2 c^2 \log ^2(F)}+\frac {F^{c (a+b x)} (d+e x)^2}{b c \log (F)}+\frac {\left (2 e^2\right ) \int F^{c (a+b x)} \, dx}{b^2 c^2 \log ^2(F)}\\ &=\frac {2 e^2 F^{c (a+b x)}}{b^3 c^3 \log ^3(F)}-\frac {2 e F^{c (a+b x)} (d+e x)}{b^2 c^2 \log ^2(F)}+\frac {F^{c (a+b x)} (d+e x)^2}{b c \log (F)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.06, size = 56, normalized size = 0.71 \begin {gather*} \frac {F^{c (a+b x)} \left (2 e^2-2 b c e (d+e x) \log (F)+b^2 c^2 (d+e x)^2 \log ^2(F)\right )}{b^3 c^3 \log ^3(F)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[F^(c*(a + b*x))*(d + e*x)^2,x]

[Out]

(F^(c*(a + b*x))*(2*e^2 - 2*b*c*e*(d + e*x)*Log[F] + b^2*c^2*(d + e*x)^2*Log[F]^2))/(b^3*c^3*Log[F]^3)

________________________________________________________________________________________

Maple [A]
time = 0.06, size = 91, normalized size = 1.15

method result size
gosper \(\frac {\left (e^{2} x^{2} c^{2} b^{2} \ln \left (F \right )^{2}+2 \ln \left (F \right )^{2} b^{2} c^{2} d e x +\ln \left (F \right )^{2} b^{2} c^{2} d^{2}-2 \ln \left (F \right ) b c \,e^{2} x -2 \ln \left (F \right ) b c e d +2 e^{2}\right ) F^{c \left (b x +a \right )}}{c^{3} b^{3} \ln \left (F \right )^{3}}\) \(91\)
risch \(\frac {\left (e^{2} x^{2} c^{2} b^{2} \ln \left (F \right )^{2}+2 \ln \left (F \right )^{2} b^{2} c^{2} d e x +\ln \left (F \right )^{2} b^{2} c^{2} d^{2}-2 \ln \left (F \right ) b c \,e^{2} x -2 \ln \left (F \right ) b c e d +2 e^{2}\right ) F^{c \left (b x +a \right )}}{c^{3} b^{3} \ln \left (F \right )^{3}}\) \(91\)
norman \(\frac {\left (\ln \left (F \right )^{2} b^{2} c^{2} d^{2}-2 \ln \left (F \right ) b c e d +2 e^{2}\right ) {\mathrm e}^{c \left (b x +a \right ) \ln \left (F \right )}}{c^{3} b^{3} \ln \left (F \right )^{3}}+\frac {e^{2} x^{2} {\mathrm e}^{c \left (b x +a \right ) \ln \left (F \right )}}{c b \ln \left (F \right )}+\frac {2 e \left (\ln \left (F \right ) b c d -e \right ) x \,{\mathrm e}^{c \left (b x +a \right ) \ln \left (F \right )}}{c^{2} b^{2} \ln \left (F \right )^{2}}\) \(112\)
meijerg \(-\frac {F^{c a} e^{2} \left (2-\frac {\left (3 b^{2} c^{2} x^{2} \ln \left (F \right )^{2}-6 b c x \ln \left (F \right )+6\right ) {\mathrm e}^{b c x \ln \left (F \right )}}{3}\right )}{c^{3} b^{3} \ln \left (F \right )^{3}}+\frac {2 F^{c a} e d \left (1-\frac {\left (-2 b c x \ln \left (F \right )+2\right ) {\mathrm e}^{b c x \ln \left (F \right )}}{2}\right )}{c^{2} b^{2} \ln \left (F \right )^{2}}-\frac {F^{c a} d^{2} \left (1-{\mathrm e}^{b c x \ln \left (F \right )}\right )}{c b \ln \left (F \right )}\) \(127\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(F^(c*(b*x+a))*(e*x+d)^2,x,method=_RETURNVERBOSE)

[Out]

(e^2*x^2*c^2*b^2*ln(F)^2+2*ln(F)^2*b^2*c^2*d*e*x+ln(F)^2*b^2*c^2*d^2-2*ln(F)*b*c*e^2*x-2*ln(F)*b*c*e*d+2*e^2)*
F^(c*(b*x+a))/c^3/b^3/ln(F)^3

________________________________________________________________________________________

Maxima [A]
time = 0.30, size = 125, normalized size = 1.58 \begin {gather*} \frac {F^{b c x + a c} d^{2}}{b c \log \left (F\right )} + \frac {2 \, {\left (F^{a c} b c x \log \left (F\right ) - F^{a c}\right )} d e^{\left (b c x \log \left (F\right ) + 1\right )}}{b^{2} c^{2} \log \left (F\right )^{2}} + \frac {{\left (F^{a c} b^{2} c^{2} x^{2} \log \left (F\right )^{2} - 2 \, F^{a c} b c x \log \left (F\right ) + 2 \, F^{a c}\right )} e^{\left (b c x \log \left (F\right ) + 2\right )}}{b^{3} c^{3} \log \left (F\right )^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(F^(c*(b*x+a))*(e*x+d)^2,x, algorithm="maxima")

[Out]

F^(b*c*x + a*c)*d^2/(b*c*log(F)) + 2*(F^(a*c)*b*c*x*log(F) - F^(a*c))*d*e^(b*c*x*log(F) + 1)/(b^2*c^2*log(F)^2
) + (F^(a*c)*b^2*c^2*x^2*log(F)^2 - 2*F^(a*c)*b*c*x*log(F) + 2*F^(a*c))*e^(b*c*x*log(F) + 2)/(b^3*c^3*log(F)^3
)

________________________________________________________________________________________

Fricas [A]
time = 0.43, size = 83, normalized size = 1.05 \begin {gather*} \frac {{\left ({\left (b^{2} c^{2} x^{2} e^{2} + 2 \, b^{2} c^{2} d x e + b^{2} c^{2} d^{2}\right )} \log \left (F\right )^{2} - 2 \, {\left (b c x e^{2} + b c d e\right )} \log \left (F\right ) + 2 \, e^{2}\right )} F^{b c x + a c}}{b^{3} c^{3} \log \left (F\right )^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(F^(c*(b*x+a))*(e*x+d)^2,x, algorithm="fricas")

[Out]

((b^2*c^2*x^2*e^2 + 2*b^2*c^2*d*x*e + b^2*c^2*d^2)*log(F)^2 - 2*(b*c*x*e^2 + b*c*d*e)*log(F) + 2*e^2)*F^(b*c*x
 + a*c)/(b^3*c^3*log(F)^3)

________________________________________________________________________________________

Sympy [A]
time = 0.07, size = 133, normalized size = 1.68 \begin {gather*} \begin {cases} \frac {F^{c \left (a + b x\right )} \left (b^{2} c^{2} d^{2} \log {\left (F \right )}^{2} + 2 b^{2} c^{2} d e x \log {\left (F \right )}^{2} + b^{2} c^{2} e^{2} x^{2} \log {\left (F \right )}^{2} - 2 b c d e \log {\left (F \right )} - 2 b c e^{2} x \log {\left (F \right )} + 2 e^{2}\right )}{b^{3} c^{3} \log {\left (F \right )}^{3}} & \text {for}\: b^{3} c^{3} \log {\left (F \right )}^{3} \neq 0 \\d^{2} x + d e x^{2} + \frac {e^{2} x^{3}}{3} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(F**(c*(b*x+a))*(e*x+d)**2,x)

[Out]

Piecewise((F**(c*(a + b*x))*(b**2*c**2*d**2*log(F)**2 + 2*b**2*c**2*d*e*x*log(F)**2 + b**2*c**2*e**2*x**2*log(
F)**2 - 2*b*c*d*e*log(F) - 2*b*c*e**2*x*log(F) + 2*e**2)/(b**3*c**3*log(F)**3), Ne(b**3*c**3*log(F)**3, 0)), (
d**2*x + d*e*x**2 + e**2*x**3/3, True))

________________________________________________________________________________________

Giac [C] Result contains complex when optimal does not.
time = 2.98, size = 2490, normalized size = 31.52 \begin {gather*} \text {Too large to display} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(F^(c*(b*x+a))*(e*x+d)^2,x, algorithm="giac")

[Out]

(((3*pi^2*b^3*c^3*log(abs(F))*sgn(F) - 3*pi^2*b^3*c^3*log(abs(F)) + 2*b^3*c^3*log(abs(F))^3)*(pi^2*b^2*c^2*x^2
*sgn(F) - pi^2*b^2*c^2*x^2 + 2*b^2*c^2*x^2*log(abs(F))^2 - 4*b*c*x*log(abs(F)) + 4)/((pi^3*b^3*c^3*sgn(F) - 3*
pi*b^3*c^3*log(abs(F))^2*sgn(F) - pi^3*b^3*c^3 + 3*pi*b^3*c^3*log(abs(F))^2)^2 + (3*pi^2*b^3*c^3*log(abs(F))*s
gn(F) - 3*pi^2*b^3*c^3*log(abs(F)) + 2*b^3*c^3*log(abs(F))^3)^2) - 2*(pi^3*b^3*c^3*sgn(F) - 3*pi*b^3*c^3*log(a
bs(F))^2*sgn(F) - pi^3*b^3*c^3 + 3*pi*b^3*c^3*log(abs(F))^2)*(pi*b^2*c^2*x^2*log(abs(F))*sgn(F) - pi*b^2*c^2*x
^2*log(abs(F)) - pi*b*c*x*sgn(F) + pi*b*c*x)/((pi^3*b^3*c^3*sgn(F) - 3*pi*b^3*c^3*log(abs(F))^2*sgn(F) - pi^3*
b^3*c^3 + 3*pi*b^3*c^3*log(abs(F))^2)^2 + (3*pi^2*b^3*c^3*log(abs(F))*sgn(F) - 3*pi^2*b^3*c^3*log(abs(F)) + 2*
b^3*c^3*log(abs(F))^3)^2))*cos(-1/2*pi*b*c*x*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c) + ((pi^3*
b^3*c^3*sgn(F) - 3*pi*b^3*c^3*log(abs(F))^2*sgn(F) - pi^3*b^3*c^3 + 3*pi*b^3*c^3*log(abs(F))^2)*(pi^2*b^2*c^2*
x^2*sgn(F) - pi^2*b^2*c^2*x^2 + 2*b^2*c^2*x^2*log(abs(F))^2 - 4*b*c*x*log(abs(F)) + 4)/((pi^3*b^3*c^3*sgn(F) -
 3*pi*b^3*c^3*log(abs(F))^2*sgn(F) - pi^3*b^3*c^3 + 3*pi*b^3*c^3*log(abs(F))^2)^2 + (3*pi^2*b^3*c^3*log(abs(F)
)*sgn(F) - 3*pi^2*b^3*c^3*log(abs(F)) + 2*b^3*c^3*log(abs(F))^3)^2) + 2*(3*pi^2*b^3*c^3*log(abs(F))*sgn(F) - 3
*pi^2*b^3*c^3*log(abs(F)) + 2*b^3*c^3*log(abs(F))^3)*(pi*b^2*c^2*x^2*log(abs(F))*sgn(F) - pi*b^2*c^2*x^2*log(a
bs(F)) - pi*b*c*x*sgn(F) + pi*b*c*x)/((pi^3*b^3*c^3*sgn(F) - 3*pi*b^3*c^3*log(abs(F))^2*sgn(F) - pi^3*b^3*c^3
+ 3*pi*b^3*c^3*log(abs(F))^2)^2 + (3*pi^2*b^3*c^3*log(abs(F))*sgn(F) - 3*pi^2*b^3*c^3*log(abs(F)) + 2*b^3*c^3*
log(abs(F))^3)^2))*sin(-1/2*pi*b*c*x*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c))*e^(b*c*x*log(abs
(F)) + a*c*log(abs(F)) + 2) - 2*I*((-I*pi^2*b^2*c^2*x^2*sgn(F) + 2*pi*b^2*c^2*x^2*log(abs(F))*sgn(F) + I*pi^2*
b^2*c^2*x^2 - 2*pi*b^2*c^2*x^2*log(abs(F)) - 2*I*b^2*c^2*x^2*log(abs(F))^2 - 2*pi*b*c*x*sgn(F) + 2*pi*b*c*x +
4*I*b*c*x*log(abs(F)) - 4*I)*e^(1/2*I*pi*b*c*x*sgn(F) - 1/2*I*pi*b*c*x + 1/2*I*pi*a*c*sgn(F) - 1/2*I*pi*a*c)/(
-4*I*pi^3*b^3*c^3*sgn(F) + 12*pi^2*b^3*c^3*log(abs(F))*sgn(F) + 12*I*pi*b^3*c^3*log(abs(F))^2*sgn(F) + 4*I*pi^
3*b^3*c^3 - 12*pi^2*b^3*c^3*log(abs(F)) - 12*I*pi*b^3*c^3*log(abs(F))^2 + 8*b^3*c^3*log(abs(F))^3) - (-I*pi^2*
b^2*c^2*x^2*sgn(F) - 2*pi*b^2*c^2*x^2*log(abs(F))*sgn(F) + I*pi^2*b^2*c^2*x^2 + 2*pi*b^2*c^2*x^2*log(abs(F)) -
 2*I*b^2*c^2*x^2*log(abs(F))^2 + 2*pi*b*c*x*sgn(F) - 2*pi*b*c*x + 4*I*b*c*x*log(abs(F)) - 4*I)*e^(-1/2*I*pi*b*
c*x*sgn(F) + 1/2*I*pi*b*c*x - 1/2*I*pi*a*c*sgn(F) + 1/2*I*pi*a*c)/(4*I*pi^3*b^3*c^3*sgn(F) + 12*pi^2*b^3*c^3*l
og(abs(F))*sgn(F) - 12*I*pi*b^3*c^3*log(abs(F))^2*sgn(F) - 4*I*pi^3*b^3*c^3 - 12*pi^2*b^3*c^3*log(abs(F)) + 12
*I*pi*b^3*c^3*log(abs(F))^2 + 8*b^3*c^3*log(abs(F))^3))*e^(b*c*x*log(abs(F)) + a*c*log(abs(F)) + 2) + 2*(2*((p
i*b^2*c^2*log(abs(F))*sgn(F) - pi*b^2*c^2*log(abs(F)))*(pi*b*c*d*x*sgn(F) - pi*b*c*d*x)/((pi^2*b^2*c^2*sgn(F)
- pi^2*b^2*c^2 + 2*b^2*c^2*log(abs(F))^2)^2 + 4*(pi*b^2*c^2*log(abs(F))*sgn(F) - pi*b^2*c^2*log(abs(F)))^2) +
(pi^2*b^2*c^2*sgn(F) - pi^2*b^2*c^2 + 2*b^2*c^2*log(abs(F))^2)*(b*c*d*x*log(abs(F)) - d)/((pi^2*b^2*c^2*sgn(F)
 - pi^2*b^2*c^2 + 2*b^2*c^2*log(abs(F))^2)^2 + 4*(pi*b^2*c^2*log(abs(F))*sgn(F) - pi*b^2*c^2*log(abs(F)))^2))*
cos(-1/2*pi*b*c*x*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c) + ((pi^2*b^2*c^2*sgn(F) - pi^2*b^2*c
^2 + 2*b^2*c^2*log(abs(F))^2)*(pi*b*c*d*x*sgn(F) - pi*b*c*d*x)/((pi^2*b^2*c^2*sgn(F) - pi^2*b^2*c^2 + 2*b^2*c^
2*log(abs(F))^2)^2 + 4*(pi*b^2*c^2*log(abs(F))*sgn(F) - pi*b^2*c^2*log(abs(F)))^2) - 4*(pi*b^2*c^2*log(abs(F))
*sgn(F) - pi*b^2*c^2*log(abs(F)))*(b*c*d*x*log(abs(F)) - d)/((pi^2*b^2*c^2*sgn(F) - pi^2*b^2*c^2 + 2*b^2*c^2*l
og(abs(F))^2)^2 + 4*(pi*b^2*c^2*log(abs(F))*sgn(F) - pi*b^2*c^2*log(abs(F)))^2))*sin(-1/2*pi*b*c*x*sgn(F) + 1/
2*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c))*e^(b*c*x*log(abs(F)) + a*c*log(abs(F)) + 1) - I*((pi*b*c*d*x*sgn
(F) - pi*b*c*d*x - 2*I*b*c*d*x*log(abs(F)) + 2*I*d)*e^(1/2*I*pi*b*c*x*sgn(F) - 1/2*I*pi*b*c*x + 1/2*I*pi*a*c*s
gn(F) - 1/2*I*pi*a*c)/(pi^2*b^2*c^2*sgn(F) + 2*I*pi*b^2*c^2*log(abs(F))*sgn(F) - pi^2*b^2*c^2 - 2*I*pi*b^2*c^2
*log(abs(F)) + 2*b^2*c^2*log(abs(F))^2) + (pi*b*c*d*x*sgn(F) - pi*b*c*d*x + 2*I*b*c*d*x*log(abs(F)) - 2*I*d)*e
^(-1/2*I*pi*b*c*x*sgn(F) + 1/2*I*pi*b*c*x - 1/2*I*pi*a*c*sgn(F) + 1/2*I*pi*a*c)/(pi^2*b^2*c^2*sgn(F) - 2*I*pi*
b^2*c^2*log(abs(F))*sgn(F) - pi^2*b^2*c^2 + 2*I*pi*b^2*c^2*log(abs(F)) + 2*b^2*c^2*log(abs(F))^2))*e^(b*c*x*lo
g(abs(F)) + a*c*log(abs(F)) + 1) + 2*(2*b*c*d^2*cos(-1/2*pi*b*c*x*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F) +
1/2*pi*a*c)*log(abs(F))/(4*b^2*c^2*log(abs(F))^2 + (pi*b*c*sgn(F) - pi*b*c)^2) - (pi*b*c*sgn(F) - pi*b*c)*d^2*
sin(-1/2*pi*b*c*x*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c)/(4*b^2*c^2*log(abs(F))^2 + (pi*b*c*s
gn(F) - pi*b*c)^2))*e^(b*c*x*log(abs(F)) + a*c*log(abs(F))) + I*(I*d^2*e^(1/2*I*pi*b*c*x*sgn(F) - 1/2*I*pi*b*c
*x + 1/2*I*pi*a*c*sgn(F) - 1/2*I*pi*a*c)/(I*pi*...

________________________________________________________________________________________

Mupad [B]
time = 3.51, size = 91, normalized size = 1.15 \begin {gather*} \frac {F^{a\,c+b\,c\,x}\,\left (b^2\,c^2\,d^2\,{\ln \left (F\right )}^2+2\,b^2\,c^2\,d\,e\,x\,{\ln \left (F\right )}^2+b^2\,c^2\,e^2\,x^2\,{\ln \left (F\right )}^2-2\,b\,c\,d\,e\,\ln \left (F\right )-2\,b\,c\,e^2\,x\,\ln \left (F\right )+2\,e^2\right )}{b^3\,c^3\,{\ln \left (F\right )}^3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(F^(c*(a + b*x))*(d + e*x)^2,x)

[Out]

(F^(a*c + b*c*x)*(2*e^2 + b^2*c^2*d^2*log(F)^2 - 2*b*c*e^2*x*log(F) + b^2*c^2*e^2*x^2*log(F)^2 - 2*b*c*d*e*log
(F) + 2*b^2*c^2*d*e*x*log(F)^2))/(b^3*c^3*log(F)^3)

________________________________________________________________________________________